import end from './img/end-10.png';
import a from './img/a-10.png';
import s from './img/s-10.png';
import c from './img/c-10.png';
import b from './img/b-10.png';
import d from './img/d-10.png';

/**
 * 一番赏 奖品列表 奖品类型
 */

// 底板类型
export const DRAW_TYPE = {
  1: {
    bg: d,
    style: 'f',
  },
  2: {
    bg: d,
    style: 'e',
  },
  3: {
    bg: d,
    style: 'd',
  },
  4: {
    bg: c,
    style: 'c',
  },
  5: {
    bg: b,
    style: 'b',
  },
  6: {
    bg: a,
    style: 'a',
  },
  7: {
    bg: s,
    style: 's',
  },
  8: {
    bg: end,
    style: 'z',
  },
};

export const GOOD_TYPE = {
  1: {
    style: 'f',
    value: 'font-size: 18rpx; margin-left: 4rpx',
  },
  2: {
    style: 'e',
    value: 'font-size: 18rpx; margin-left: 4rpx',
  },
  3: {
    style: 'd',
    value: 'font-size: 18rpx; margin-left: 4rpx',
  },
  4: {
    style: 'c',
    value: 'font-size: 18rpx; margin-left: 4rpx',
  },
  5: {
    style: 'b',
    value: 'font-size: 18rpx; margin-left: 4rpx',
  },
  6: {
    style: 'a',
    value: 'font-size: 18rpx; margin-left: 4rpx',
  },
  7: {
    style: 's',
    value: 'font-size: 18rpx; margin-left: 4rpx',
  },
  8: {
    style: 'z',
    value: '',
  },
  10: {
    style: 'j',
    value: '',
  },
};
export const GOOD_TYPE_LIVE = {
  1: {
    style: 'f',
    value: 'font-size: 9rpx; margin-left: 4rpx',
  },
  2: {
    style: 'e',
    value: 'font-size: 9rpx; margin-left: 4rpx',
  },
  3: {
    style: 'd',
    value: 'font-size: 9rpx; margin-left: 4rpx',
  },
  4: {
    style: 'c',
    value: 'font-size: 9rpx; margin-left: 4rpx',
  },
  5: {
    style: 'b',
    value: 'font-size: 9rpx; margin-left: 4rpx',
  },
  6: {
    style: 'a',
    value: 'font-size: 9rpx; margin-left: 4rpx',
  },
  7: {
    style: 's',
    value: 'font-size: 9rpx; margin-left: 4rpx',
  },
  8: {
    style: 'z',
    value: '',
  },
  10: {
    style: 'j',
    value: '',
  },
};

/**
 * 开奖记录
 */
export const HISTORY_ITEM = {
  0: {
    style: 'g',
    value: '<span style="line-height: 1; font-size: 11px;">G</span>赏',
  },
  1: {
    style: 'f',
    value: '<span style="line-height: 1; font-size: 11px;">F</span>赏',
  },

  2: {
    style: 'e',
    value: '<span style="line-height: 1; font-size: 11px;">E</span>赏',
  },
  3: {
    style: 'd',
    value: '<span style="line-height: 1; font-size: 11px;">D</span>赏',
  },

  4: {
    style: 'c',
    value: '<span style="line-height: 1; font-size: 11px;">C</span>赏',
  },

  5: {
    style: 'b',
    value: '<span style="line-height: 1; font-size: 11px;">B</span>赏',
  },

  6: {
    style: 'a',
    value: '<span style="line-height: 1;font-size: 11px;">A</span>赏',
  },
  7: {
    style: 's',
    value: '<span style="line-height: 1; font-size: 11px;">S</span>赏',
  },
  8: {
    style: 'z',
    value: '终赏',
  },

  10: {
    style: 'j',
    value: '降临赏',
  },
};

export const REWARD = {
  终: 8,
  S: 7,
  A: 6,
  B: 5,
  C: 4,
  D: 3,
  E: 2,
  F: 1,
};
// 抽奖方式
export const EXTRACTABLEE = {
  single: {
    id: '1',
    name: 'single',
    label: '来一发',
    price: 'xx.xx',
  },
  five: {
    id: '5',
    name: 'five',
    label: '来五发',
    price: 'xx.xx',
  },
  ten: {
    id: '10',
    name: 'ten',
    label: '来十发',
    price: 'xx.xx',
  },
  all: {
    id: 'all',
    name: 'all',
    label: '全收',
    price: 'xx.xx',
  },
};
/**
 * test data
 */
export const TEST_YFS_DATA_RESULT = [
  {
    goods_image:
      'http://file.aitewan.com/uploads/20230427/d1b3144231ad9a276b3bc6d9de65d2a9.png',
    goods_name: '动物嘉年华一个',
    id: 17,
    key: 16,
    level: 8,
    reward_name: 'C',
  },
  {
    goods_image:
      'http://file.aitewan.com/uploads/20230427/d1b3144231ad9a276b3bc6d9de65d2a9.png',
    goods_name: '动物嘉年华一个',
    id: 17,
    key: 16,
    level: 4,
    reward_name: 'C',
  },
  {
    goods_image:
      'http://file.aitewan.com/uploads/20230427/d1b3144231ad9a276b3bc6d9de65d2a9.png',
    goods_name: '动物嘉年华一个',
    id: 17,
    key: 16,
    level: 1,
    reward_name: 'C',
  },
  {
    goods_image:
      'http://file.aitewan.com/uploads/20230427/d1b3144231ad9a276b3bc6d9de65d2a9.png',
    goods_name: '动物嘉年华一个',
    id: 17,
    key: 16,
    level: 7,
    reward_name: 'C',
  },
  {
    goods_image:
      'http://file.aitewan.com/uploads/20230427/d1b3144231ad9a276b3bc6d9de65d2a9.png',
    goods_name: '动物嘉年华一个',
    id: 17,
    key: 16,
    level: 6,
    reward_name: 'C',
  },
  {
    goods_image:
      'http://file.aitewan.com/uploads/20230427/d1b3144231ad9a276b3bc6d9de65d2a9.png',
    goods_name: '动物嘉年华一个',
    id: 17,
    key: 16,
    level: 4,
    reward_name: 'C',
  },
  {
    goods_image:
      'http://file.aitewan.com/uploads/20230427/d1b3144231ad9a276b3bc6d9de65d2a9.png',
    goods_name: '动物嘉年华一个',
    id: 17,
    key: 16,
    level: 4,
    reward_name: 'C',
  },
  {
    goods_image:
      'http://file.aitewan.com/uploads/20230427/d1b3144231ad9a276b3bc6d9de65d2a9.png',
    goods_name: '动物嘉年华一个',
    id: 17,
    key: 16,
    level: 5,
    reward_name: 'C',
  },
  {
    goods_image:
      'http://file.aitewan.com/uploads/20230427/d1b3144231ad9a276b3bc6d9de65d2a9.png',
    goods_name: '动物嘉年华一个',
    id: 17,
    key: 16,
    level: 4,
    reward_name: 'C',
  },
  {
    goods_image:
      'http://file.aitewan.com/uploads/20230427/d1b3144231ad9a276b3bc6d9de65d2a9.png',
    goods_name: '动物嘉年华一个',
    id: 17,
    key: 16,
    level: 6,
    reward_name: 'C',
  },
  {
    goods_image:
      'http://file.aitewan.com/uploads/20230427/d1b3144231ad9a276b3bc6d9de65d2a9.png',
    goods_name: '动物嘉年华一个',
    id: 17,
    key: 16,
    level: 6,
    reward_name: 'C',
  },
  {
    goods_image:
      'http://file.aitewan.com/uploads/20230427/d1b3144231ad9a276b3bc6d9de65d2a9.png',
    goods_name: '动物嘉年华一个',
    id: 17,
    key: 16,
    level: 6,
    reward_name: 'C',
  },
  {
    goods_image:
      'http://file.aitewan.com/uploads/20230427/d1b3144231ad9a276b3bc6d9de65d2a9.png',
    goods_name: '动物嘉年华一个',
    id: 17,
    key: 16,
    level: 6,
    reward_name: 'C',
  },
  {
    goods_image:
      'http://file.aitewan.com/uploads/20230427/d1b3144231ad9a276b3bc6d9de65d2a9.png',
    goods_name: '动物嘉年华一个',
    id: 17,
    key: 16,
    level: 6,
    reward_name: 'C',
  },
  {
    goods_image:
      'http://file.aitewan.com/uploads/20230427/d1b3144231ad9a276b3bc6d9de65d2a9.png',
    goods_name: '动物嘉年华一个',
    id: 17,
    key: 16,
    level: 6,
    reward_name: 'C',
  },
  {
    goods_image:
      'http://file.aitewan.com/uploads/20230427/d1b3144231ad9a276b3bc6d9de65d2a9.png',
    goods_name: '动物嘉年华一个',
    id: 17,
    key: 16,
    level: 6,
    reward_name: 'C',
  },
  {
    goods_image:
      'http://file.aitewan.com/uploads/20230427/d1b3144231ad9a276b3bc6d9de65d2a9.png',
    goods_name: '动物嘉年华一个',
    id: 17,
    key: 16,
    level: 6,
    reward_name: 'C',
  },
  {
    goods_image:
      'http://file.aitewan.com/uploads/20230427/d1b3144231ad9a276b3bc6d9de65d2a9.png',
    goods_name: '动物嘉年华一个',
    id: 17,
    key: 16,
    level: 6,
    reward_name: 'C',
  },
  {
    goods_image:
      'http://file.aitewan.com/uploads/20230427/d1b3144231ad9a276b3bc6d9de65d2a9.png',
    goods_name: '动物嘉年华一个',
    id: 17,
    key: 16,
    level: 6,
    reward_name: 'C',
  },
  {
    goods_image:
      'http://file.aitewan.com/uploads/20230427/d1b3144231ad9a276b3bc6d9de65d2a9.png',
    goods_name: '动物嘉年华一个',
    id: 17,
    key: 16,
    level: 6,
    reward_name: 'C',
  },
  {
    goods_image:
      'http://file.aitewan.com/uploads/20230427/d1b3144231ad9a276b3bc6d9de65d2a9.png',
    goods_name: '动物嘉年华一个',
    id: 17,
    key: 16,
    level: 6,
    reward_name: 'C',
  },
  {
    goods_image:
      'http://file.aitewan.com/uploads/20230427/d1b3144231ad9a276b3bc6d9de65d2a9.png',
    goods_name: '动物嘉年华一个',
    id: 17,
    key: 16,
    level: 6,
    reward_name: 'C',
  },
];
